package com.fs.po;


/**
 * 学生信息
 * @author chenwenfei
 *
 */
public class Stu {
	private String name;
	private String password;
	private String tel;
	private String sex;
	private int age;
	
	
	public Stu() {
		super();
	}

	public Stu(String name, String password ) {
		super();
		this.name = name;
		this.password = password;
	}

	public Stu(String name, String password, String tel, String sex, int age) {
		super();
		this.name = name;
		this.password = password;
		this.tel = tel;
		this.sex = sex;
		this.age = age;
	}


	public String getName() {
		return name;
	}


	public void setName(String name) {
		this.name = name;
	}


	public String getPassword() {
		return password;
	}


	public void setPassword(String password) {
		this.password = password;
	}


	public String getTel() {
		return tel;
	}


	public void setTel(String tel) {
		this.tel = tel;
	}


	public String getSex() {
		return sex;
	}


	public void setSex(String sex) {
		this.sex = sex;
	}


	public int getAge() {
		return age;
	}


	public void setAge(int age) {
		this.age = age;
	}


	@Override
	public String toString() {
		return "Stu [name=" + name + ", password=" + password + ", tel=" + tel
				+ ", sex=" + sex + ", age=" + age + "]";
	}
	
}
